package org.smile.design.compose;

public class Application {
    public static void main(String[] args) {
        Folder folder = new Folder("d");
        Folder document = new Folder("document");
        Folder work  = new Folder("work");

        document.getNodes().add(work);
        folder.getNodes().add(document);
        folder.getNodes().add(new File("1.txt"));
        folder.print();
    }
}
